package com.ruoyi.information.domain.back;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import com.ruoyi.information.domain.pc.SysUser;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;
import java.util.List;

/**
 * 服务资讯对象 service_article
 *
 * @author ruoyi
 * @date 2023-05-05
 */
public class ServiceArticleBack extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    private Long id;

    /**
     * 标题
     */
    @Excel(name = "标题")
    private String title;

    /**
     * 发布用户
     */
    @Excel(name = "发布用户")
    private String releaseName;

    /**
     * 发布时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date releaseTime;

    /**
     * 链接类型1富文本2、外链
     */
    @Excel(name = "链接类型1富文本2、外链")
    private Long linkType;

    /**
     * 内容
     */
    @Excel(name = "内容")
    private String linkVal;

    /**
     * 简介
     */
    @Excel(name = "简介")
    private String intro;

    /**
     * 附件
     */
    @Excel(name = "附件")
    private String downloadUrl;

    /**
     * 体系分类
     */
    @Excel(name = "体系分类")
    private String serviceId;

    /**
     * 备注
     */
    @Excel(name = "备注")
    private String note;

    /**
     * 排序
     */
    @Excel(name = "排序")
    private Long sort;

    /**
     * 状态0审核中 1通过 2拒绝
     */
    @Excel(name = "状态0审核中 1通过 2拒绝")
    private Long state;

    /**
     * 是否删除0否1是
     */
    @Excel(name = "是否删除0否1是")
    private Long dr;

    /**
     * 封面
     */
    @Excel(name = "封面")
    private String cover;

    /**
     * 浏览次数
     */
    @Excel(name = "浏览次数")
    private Long num;

    /**
     * 省份ID
     */
    private Long provinceId;

    /**
     * 城市ID
     */
    private Long cityId;

    /**
     * 地区ID
     */
    private Long areaId;

    /**
     * 推荐
     */
    @Excel(name = "推荐")
    private Long recom;

    /**
     * 图片资源
     */
    private String pictures;

    /**
     * 资质
     */
    private String qualifications;

    /**
     * 地区
     */
    private String address;

    /**
     * 注册资金
     */
    private String fund;

    /**
     * 职工人数
     */
    private String workers;

    /**
     * 体系分类多选
     */
    private String serviceIds;

    private List<Long> ids;


    private List<SysUser> userList;


    private String businessAddress;

    private String province;

    private String city;

    private String area;

    private String province2;

    private String city2;

    private String area2;

    private String address2;

    private String enterpriseLabel;

    private String isIndependence;


    public String getBusinessAddress() {
        return businessAddress;
    }

    public void setBusinessAddress(String businessAddress) {
        this.businessAddress = businessAddress;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getProvince2() {
        return province2;
    }

    public void setProvince2(String province2) {
        this.province2 = province2;
    }

    public String getCity2() {
        return city2;
    }

    public void setCity2(String city2) {
        this.city2 = city2;
    }

    public String getArea2() {
        return area2;
    }

    public void setArea2(String area2) {
        this.area2 = area2;
    }

    public String getAddress2() {
        return address2;
    }

    public void setAddress2(String address2) {
        this.address2 = address2;
    }

    public String getEnterpriseLabel() {
        return enterpriseLabel;
    }

    public void setEnterpriseLabel(String enterpriseLabel) {
        this.enterpriseLabel = enterpriseLabel;
    }

    public String getIsIndependence() {
        return isIndependence;
    }

    public void setIsIndependence(String isIndependence) {
        this.isIndependence = isIndependence;
    }

    public List<SysUser> getUserList() {
        return userList;
    }

    public void setUserList(List<SysUser> userList) {
        this.userList = userList;
    }

    public List<Long> getIds() {
        return ids;
    }

    public void setIds(List<Long> ids) {
        this.ids = ids;
    }

    public String getServiceIds() {
        return serviceIds;
    }

    public void setServiceIds(String serviceIds) {
        this.serviceIds = serviceIds;
    }

    public String getWorkers() {
        return workers;
    }

    public void setWorkers(String workers) {
        this.workers = workers;
    }

    public String getFund() {
        return fund;
    }

    public void setFund(String fund) {
        this.fund = fund;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getQualifications() {
        return qualifications;
    }

    public void setQualifications(String qualifications) {
        this.qualifications = qualifications;
    }

    public String getPictures() {
        return pictures;
    }

    public void setPictures(String pictures) {
        this.pictures = pictures;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getTitle() {
        return title;
    }

    public void setReleaseName(String releaseName) {
        this.releaseName = releaseName;
    }

    public String getReleaseName() {
        return releaseName;
    }

    public void setReleaseTime(Date releaseTime) {
        this.releaseTime = releaseTime;
    }

    public Date getReleaseTime() {
        return releaseTime;
    }

    public void setLinkType(Long linkType) {
        this.linkType = linkType;
    }

    public Long getLinkType() {
        return linkType;
    }

    public void setLinkVal(String linkVal) {
        this.linkVal = linkVal;
    }

    public String getLinkVal() {
        return linkVal;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }

    public String getIntro() {
        return intro;
    }

    public void setDownloadUrl(String downloadUrl) {
        this.downloadUrl = downloadUrl;
    }

    public String getDownloadUrl() {
        return downloadUrl;
    }

    public void setServiceId(String serviceId) {
        this.serviceId = serviceId;
    }

    public String getServiceId() {
        return serviceId;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public String getNote() {
        return note;
    }

    public void setSort(Long sort) {
        this.sort = sort;
    }

    public Long getSort() {
        return sort;
    }

    public void setState(Long state) {
        this.state = state;
    }

    public Long getState() {
        return state;
    }

    public void setDr(Long dr) {
        this.dr = dr;
    }

    public Long getDr() {
        return dr;
    }

    public void setCover(String cover) {
        this.cover = cover;
    }

    public String getCover() {
        return cover;
    }

    public void setNum(Long num) {
        this.num = num;
    }

    public Long getNum() {
        return num;
    }

    public void setProvinceId(Long provinceId) {
        this.provinceId = provinceId;
    }

    public Long getProvinceId() {
        return provinceId;
    }

    public void setCityId(Long cityId) {
        this.cityId = cityId;
    }

    public Long getCityId() {
        return cityId;
    }

    public void setAreaId(Long areaId) {
        this.areaId = areaId;
    }

    public Long getAreaId() {
        return areaId;
    }

    public void setRecom(Long recom) {
        this.recom = recom;
    }

    public Long getRecom() {
        return recom;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("title", getTitle())
                .append("releaseName", getReleaseName())
                .append("releaseTime", getReleaseTime())
                .append("linkType", getLinkType())
                .append("linkVal", getLinkVal())
                .append("intro", getIntro())
                .append("downloadUrl", getDownloadUrl())
                .append("serviceId", getServiceId())
                .append("note", getNote())
                .append("sort", getSort())
                .append("state", getState())
                .append("dr", getDr())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("cover", getCover())
                .append("num", getNum())
                .append("provinceId", getProvinceId())
                .append("cityId", getCityId())
                .append("areaId", getAreaId())
                .append("recom", getRecom())
                .toString();
    }
}
